package com.uplooking.pojo;

import java.util.UUID;

public class AddrVO {

	//地址编号
	private String addrid;
	//发件人信息
	private String senduser;
	private String sendphone;
	//地址簿
	//收件地址 收件人信息
	private String receiveuser;
	private String receivephone;
	private String receiveaddr;
	private boolean addrdef;
	public String getAddrid() {
		return addrid;
	}
	public void setAddrid(String addrid) {
		this.addrid = addrid;
	}
	public String getSenduser() {
		return senduser;
	}
	public void setSenduser(String senduser) {
		this.senduser = senduser;
	}
	public String getSendphone() {
		return sendphone;
	}
	public void setSendphone(String sendphone) {
		this.sendphone = sendphone;
	}
	public String getReceiveuser() {
		return receiveuser;
	}
	public void setReceiveuser(String receiveuser) {
		this.receiveuser = receiveuser;
	}
	public String getReceivephone() {
		return receivephone;
	}
	public void setReceivephone(String receivephone) {
		this.receivephone = receivephone;
	}
	public String getReceiveaddr() {
		return receiveaddr;
	}
	public void setReceiveaddr(String receiveaddr) {
		this.receiveaddr = receiveaddr;
	}
	public boolean isAddrdef() {
		return addrdef;
	}
	public void setAddrdef(boolean addrdef) {
		this.addrdef = addrdef;
	}
	public AddrVO() {
		super();
	}
	public AddrVO(String senduser, String sendphone, String receiveuser, String receivephone, String receiveaddr) {
		super();
		this.addrid = UUID.randomUUID().toString();
		this.senduser = senduser;
		this.sendphone = sendphone;
		this.receiveuser = receiveuser;
		this.receivephone = receivephone;
		this.receiveaddr = receiveaddr;
		this.addrdef = false;
	}
	@Override
	public String toString() {
		return "AddrVO [senduser=" + senduser + ", sendphone=" + sendphone + ", receiveuser=" + receiveuser
				+ ", receivephone=" + receivephone + ", receiveaddr=" + receiveaddr + "]";
	}
	
}
